package com.kaili.basic.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("分页查询告警设备")
public class MdmAlarmDeviceVo {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("设备imei")
    @Excel(name = "IMEI",orderNum ="1" )
    private String imei;

    @ApiModelProperty("设备sn")
    @Excel(name = "SN",orderNum ="2" )
    private String sn;

    @ApiModelProperty("平台:1安卓2ios3其他")
    @Excel(name = "平台",orderNum ="3",replace = {"安卓_110","IOS_111","其它_114"})
    private Integer platformId;

    @ApiModelProperty("设备类型id(1手机2PDA3其他)")
    @Excel(name = "类型",orderNum ="4",replace = {"手机_107","PDA_108","其它_109"})
    private Integer typeId;

    @ApiModelProperty("型号")
    @Excel(name = "型号",orderNum ="5")
    private String model;

    @ApiModelProperty("告警内容")
    @Excel(name = "告警内容",orderNum ="6")
    private String alarmContent;

    @ApiModelProperty("告警名称")
    @Excel(name = "所属告警项",orderNum ="7")
    private String alarmName;

    @ApiModelProperty("告警值：只有版本、电量、内存、cpu、离线才有告警值")
    private String alarmValue;

    @ApiModelProperty("告警时间")
    @Excel(name = "创建时间",orderNum = "8", format = "yyyy-MM-dd HH:mm:ss")
    private Date oendTime;

}
